<template>
  <div class="demo">
    <div class="demo-title">三种大小</div>
    <div class="demo-content">
      <Space direction="vertical" :size="12">
        <Radio.Group v-model:value="size">
          <Radio.Button value="large">Large</Radio.Button>
          <Radio.Button value="default">Default</Radio.Button>
          <Radio.Button value="small">Small</Radio.Button>
        </Radio.Group>
        <DatePicker :size="size" />
        <DatePicker :size="size" placeholder="Select Month" picker="month" />
        <DatePicker.RangePicker :size="size" />
        <DatePicker :size="size" placeholder="Select Week" picker="week" />
      </Space>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Space from '@sscd/space';
  import Radio from '@sscd/radio';
  import DatePicker from '@sscd/date-picker';
  const size = ref<any>('default');
</script>
